package com.trkj.pojos;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the YZR_SUPPLIER database table.
 * 
 */
@Entity
@Table(name="YZR_SUPPLIER")
@NamedQuery(name="YzrSupplier.findAll", query="SELECT y FROM YzrSupplier y")
public class YzrSupplier implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="SUP_ID")
	private String supId;

	@Column(name="SUP_ADDRESS")
	private String supAddress;

	@Column(name="SUP_CONTEXT")
	private String supContext;

	@Column(name="SUP_CREDIT")
	private String supCredit;

	@Column(name="SUP_DELIVERY_MODE")
	private String supDeliveryMode;

	@Column(name="SUP_EXPLAIN")
	private String supExplain;

	@Column(name="SUP_FAX")
	private String supFax;

	@Column(name="SUP_KIND")
	private String supKind;

	@Column(name="SUP_NAME")
	private String supName;

	@Column(name="SUP_PAYMENT")
	private String supPayment;

	@Column(name="SUP_PHONE")
	private String supPhone;

	public YzrSupplier() {
	}

	public YzrSupplier(String supId, String supAddress, String supContext, String supCredit, String supDeliveryMode,
			String supExplain, String supFax, String supKind, String supName, String supPayment, String supPhone) {
		super();
		this.supId = supId;
		this.supAddress = supAddress;
		this.supContext = supContext;
		this.supCredit = supCredit;
		this.supDeliveryMode = supDeliveryMode;
		this.supExplain = supExplain;
		this.supFax = supFax;
		this.supKind = supKind;
		this.supName = supName;
		this.supPayment = supPayment;
		this.supPhone = supPhone;
	}

	public String getSupId() {
		return this.supId;
	}

	public void setSupId(String supId) {
		this.supId = supId;
	}

	public String getSupAddress() {
		return this.supAddress;
	}

	public void setSupAddress(String supAddress) {
		this.supAddress = supAddress;
	}

	public String getSupContext() {
		return this.supContext;
	}

	public void setSupContext(String supContext) {
		this.supContext = supContext;
	}

	public String getSupCredit() {
		return this.supCredit;
	}

	public void setSupCredit(String supCredit) {
		this.supCredit = supCredit;
	}

	public String getSupDeliveryMode() {
		return this.supDeliveryMode;
	}

	public void setSupDeliveryMode(String supDeliveryMode) {
		this.supDeliveryMode = supDeliveryMode;
	}

	public String getSupExplain() {
		return this.supExplain;
	}

	public void setSupExplain(String supExplain) {
		this.supExplain = supExplain;
	}

	public String getSupFax() {
		return this.supFax;
	}

	public void setSupFax(String supFax) {
		this.supFax = supFax;
	}

	public String getSupKind() {
		return this.supKind;
	}

	public void setSupKind(String supKind) {
		this.supKind = supKind;
	}

	public String getSupName() {
		return this.supName;
	}

	public void setSupName(String supName) {
		this.supName = supName;
	}

	public String getSupPayment() {
		return this.supPayment;
	}

	public void setSupPayment(String supPayment) {
		this.supPayment = supPayment;
	}

	public String getSupPhone() {
		return this.supPhone;
	}

	public void setSupPhone(String supPhone) {
		this.supPhone = supPhone;
	}

}